package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_cwa_mts database table.
 * 
 */
@Entity
@Table(name="per_cwa_mts")
@NamedQuery(name="PerCwaMts.findAll", query="SELECT p FROM PerCwaMts p")
public class PerCwaMts implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int mtsid;

	private String mtscont;

	private String mtsdd;

	private String mtsname;

	private String mtsry;

	private Timestamp mtstime;

	private String mtsyy;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerCwaMts() {
	}

	public int getMtsid() {
		return this.mtsid;
	}

	public void setMtsid(int mtsid) {
		this.mtsid = mtsid;
	}

	public String getMtscont() {
		return this.mtscont;
	}

	public void setMtscont(String mtscont) {
		this.mtscont = mtscont;
	}

	public String getMtsdd() {
		return this.mtsdd;
	}

	public void setMtsdd(String mtsdd) {
		this.mtsdd = mtsdd;
	}

	public String getMtsname() {
		return this.mtsname;
	}

	public void setMtsname(String mtsname) {
		this.mtsname = mtsname;
	}

	public String getMtsry() {
		return this.mtsry;
	}

	public void setMtsry(String mtsry) {
		this.mtsry = mtsry;
	}

	public Timestamp getMtstime() {
		return this.mtstime;
	}

	public void setMtstime(Timestamp mtstime) {
		this.mtstime = mtstime;
	}

	public String getMtsyy() {
		return this.mtsyy;
	}

	public void setMtsyy(String mtsyy) {
		this.mtsyy = mtsyy;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}